<?php
namespace Home\Controller;
use Think\Controller;

class PpController extends Controller{
	public function detail(){

		$id = I("id",0,"int");
		$pp_info =D('Pp')->getPpById($id);

		//dump($Pp_info);
		
		$this->assign("Pp_info",$Pp_info);

		$this->display();

	}
	//网赚项目列表  没有效果
    public function lists(){
        $Pp_list = D("Pp")->getPpList();
        $this->assign('Pp_list',$Pp_list);
        //dump($Pp_list);

        $this->display();

    }

	
}
	